<?php

$pdo = new PDO('mysql:host=localhost;dbname=lamp179;port=3306;charset=utf8','root','mcy');

$state= $pdo -> query('select * from areas');

$array = $state -> fetch();
var_dump($array);

		
	
